<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8">
    <title>修改密码</title>
    <link rel="stylesheet" href="/css/normalize.css">
    <link rel="stylesheet" href="/css/reset.css">
    <style>
      .password-input > div{
        margin-top: 10px;
      }
    </style>
  </head>
  <body>
    <form action="/user/changePassword" method="post" class="password-input">
      <div>请输入原密码：<input type="password" name="pass"></div>
      <div>请输入新密码：<input type="password" name="newPass"></div>
      <div>确认新的密码：<input type="password" name="vPass"></div>
      <div><input type="submit" value="修改"></div>
      <div style="color:red;" th:text="${cmsg}"></div>
    </form>
  </body>
</html>